#!/usr/bin/python

x = input('input: ')
for i in range(1, x*2):
    if i < x:
        print ' '*(x-i) + '@ '*i
    else:
        print ' '*(i-x) + '@ '*(x*2 - i)
